//
//  JSMLeavingCollectionViewCell.m
//  TakeYouTourTogether
//
//  Created by dllo on 15/11/30.
//  Copyright © 2015年 king. All rights reserved.
//

#import "JSMLeavingCollectionViewCell.h"

@implementation JSMLeavingCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView {
    self.mainImageView = [[BaseImageView alloc] initWithFrame:CGRectMake(0, 0, WIDTH, WIDTH)];
    [self.contentView addSubview:self.mainImageView];
    self.descriptLabel = [[BaseLabel alloc] initWithFrame:CGRectMake(0, self.mainImageView.frame.size.height, WIDTH, HEIGHT - WIDTH)];
    [self.contentView addSubview:self.descriptLabel];
    self.descriptLabel.numberOfLines = 0;
    self.descriptLabel.font  = [UIFont systemFontOfSize:13];
}

@end
